﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Galaktika.BI.Runtime.Services;
using Galaktika.BI.Silverlight.Controls.MemberChoice.Tree;

namespace Galaktika.BI.Silverlight.Controls.MemberChoice
{
    public class MemberChoiceInvokeSchemaWrapper
    {
        public readonly InvokeSchema Schema = null;
        public readonly MemberTreeNode Node = null;

        public MemberChoiceInvokeSchemaWrapper(InvokeSchema schema)
        {
            if (schema == null)
            {
                throw new ArgumentNullException("schema");
            }

            Schema = schema;
        }

        public MemberChoiceInvokeSchemaWrapper(InvokeSchema schema, MemberTreeNode node)
            : this(schema)
        {
            Node = node;
        }
    }
}
